package com.dd.stack.es;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author liuxianmeng
 * @CreateTime 2024/4/6 16:55
 * @Description ES实践 启动类
 */
@EnableScheduling
@SpringBootApplication
@ComponentScan(basePackages = {"com.dd.stack.es"})
@MapperScan(basePackages = {"com.dd.stack.es.mapper"})
public class ESApp {
    public static void main(String[] args) {
        SpringApplication.run(ESApp.class, args);
    }
}